<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>{$platform_name}管理后台</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
        <link rel="stylesheet" href="/static/Public/Admin/layui/css/layui.css" media="all">
        <script>
            /^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
        </script>
        <style>
            #logo {
                width: 29px;
                height: 29px;
                padding: 10px 10px 10px 0;
            }
            ::-webkit-scrollbar-track {background-color: rgb(242, 242, 242);}
            ::-webkit-scrollbar {width: 6px; background-color: rgb(242, 242, 242);}
            ::-webkit-scrollbar-thumb {background-color: rgba(0, 0, 0, 0.4);border-radius:3px;}
        </style>
    </head>
    <body>
        <div id="LAY_app"></div>
        <script src="/static/Public/Admin/js/ace/ace.js"></script>
        <script src="/static/Public/Admin/layui/layui.js"></script>
        <script>
            if (window.location.href.split("#").length < 2) {
                window.location.href = window.location.href + '#/';
            }
            layui.config({
                base: '/static/admin/' //指定 layuiAdmin 项目路径
            }).use('index', function () {
                var layer = layui.layer, admin = layui.admin;
                layer.ready(function () {
                    layui.setter.name = '{$platform_name}';
                    layui.setter.logo = '{$logo}';
                    layui.setter.baseUrl = '/admin/';
                    layui.setter.uploadUrl = '/admin/upload/';
                });
            });
        </script>
    </body>
</html>
